package fristphase.day9_04.submarinegametest01;

import javax.swing.*;

public class Bomb extends SeaObject {
    public Bomb(int x,int y,int index){
        super(20,20,x,y,3,"炸弹",index);

    }
    public void move(){
        x += speed;
    }
    public ImageIcon getImage(){
        return Images.bomb;
    }
}
